package com.jinmdz.fmis.mapper.entity;

import com.jinmdz.fmis.mapper.annotation.MyColumn;
import com.jinmdz.fmis.mapper.annotation.MyTable;
import com.jinmdz.fmis.mapper.base.BaseEntity;


/**
 * 休息室房间表Entity
 * 
 * @author generator
 * @date 2020-08-23 18:11
 */
@MyTable(value = "LoungeHomeEntity", name = "lounge_home", comment = "休息室房间表")
public class LoungeHomeEntity extends BaseEntity {
    /**
     * 休息室类型编码
     */
    @MyColumn(value = "homeTypeCode", name = "home_type_code", comment = "休息室类型编码", required = true)
    private Integer homeTypeCode;

    /**
     * 礼厅编码
     */
    @MyColumn(value = "homeCode", name = "home_code", comment = "礼厅编码", required = true)
    private String homeCode;

    /**
     * 礼厅名称
     */
    @MyColumn(value = "homeName", name = "home_name", comment = "礼厅名称", required = true)
    private String homeName;

    /**
     * 禁用状态
     */
    @MyColumn(value = "disableState", name = "disable_state", comment = "禁用状态", required = true)
    private Integer disableState;

    /**
     * 排序
     */
    @MyColumn(value = "sort", name = "sort", comment = "排序", required = true)
    private Integer sort;

    /**
     * 备注
     */
    @MyColumn(value = "remark", name = "remark", comment = "备注")
    private String remark;


    public Integer getHomeTypeCode() {
        return homeTypeCode;
    }

    public LoungeHomeEntity setHomeTypeCode(Integer homeTypeCode) {
        this.homeTypeCode = homeTypeCode;
        return this;
    }

    public String getHomeCode() {
        return homeCode;
    }

    public LoungeHomeEntity setHomeCode(String homeCode) {
        this.homeCode = homeCode;
        return this;
    }

    public String getHomeName() {
        return homeName;
    }

    public LoungeHomeEntity setHomeName(String homeName) {
        this.homeName = homeName;
        return this;
    }

    public Integer getDisableState() {
        return disableState;
    }

    public LoungeHomeEntity setDisableState(Integer disableState) {
        this.disableState = disableState;
        return this;
    }

    public Integer getSort() {
        return sort;
    }

    public LoungeHomeEntity setSort(Integer sort) {
        this.sort = sort;
        return this;
    }

    public String getRemark() {
        return remark;
    }

    public LoungeHomeEntity setRemark(String remark) {
        this.remark = remark;
        return this;
    }

    @Override
    public String toString() {
        return "LoungeHomeEntity{" +
                "homeTypeCode=" + homeTypeCode +
                ", homeCode='" + homeCode + '\'' +
                ", homeName='" + homeName + '\'' +
                ", disableState=" + disableState +
                ", sort=" + sort +
                ", remark='" + remark + '\'' +
                '}';
    }
}